<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="java.util.List" %>
<%@ page import="com.bjpowernode.crm.setting.eneity.DicValue" %>
<%@ page import="com.bjpowernode.crm.workbench.eneity.Tran" %>
<%@ page import="javafx.scene.control.SplitPane" %>
<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%
	String path=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
	String pMapStr= (String) application.getAttribute("pMap");
	JSONObject json=JSONObject.parseObject(pMapStr);
	List<DicValue> dvList= (List<DicValue>) application.getAttribute("stage");
	int point=0;
	//遍历阶段列表
	for (int i=0;i<dvList.size();i++){
		DicValue dv=dvList.get(i);
		//取出阶段stage值
		String stage=dv.getValue();
		//根据阶段取出可能性的值
		String possibility=json.getString(stage);
		if ("0".equals(possibility)){
			//若为0的话，说明当前阶段处于后两个阶段，也就是失效阶段
			point=i;
			break;
		}
	}
%>
<!DOCTYPE html>
<html>
<head>
	<base href="<%=path%>">
<meta charset="UTF-8">

<link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet" />

<style type="text/css">
.mystage{
	font-size: 20px;
	vertical-align: middle;
	cursor: pointer;
}
.closingDate{
	font-size : 15px;
	cursor: pointer;
	vertical-align: middle;
}
</style>
	
<script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
<script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>

<script type="text/javascript">
	function getPossable() {
		var jsonStr='${pMap}';
		var json=JSON.parse(jsonStr);
		var stage='${tran.stage}';
		var possible=json[stage];
		$("#possibility").html(possible);
	}

	//默认情况下取消和保存按钮是隐藏的
	var cancelAndSaveBtnDefault = true;
	
	$(function(){
		getPossable();
		$("#remark").focus(function(){
			if(cancelAndSaveBtnDefault){
				//设置remarkDiv的高度为130px
				$("#remarkDiv").css("height","130px");
				//显示
				$("#cancelAndSaveBtn").show("2000");
				cancelAndSaveBtnDefault = false;
			}
		});
		
		$("#cancelBtn").click(function(){
			//显示
			$("#cancelAndSaveBtn").hide();
			//设置remarkDiv的高度为130px
			$("#remarkDiv").css("height","90px");
			cancelAndSaveBtnDefault = true;
		});
		
		$(".remarkDiv").mouseover(function(){
			$(this).children("div").children("div").show();
		});
		
		$(".remarkDiv").mouseout(function(){
			$(this).children("div").children("div").hide();
		});
		
		$(".myHref").mouseover(function(){
			$(this).children("span").css("color","red");
		});
		
		$(".myHref").mouseout(function(){
			$(this).children("span").css("color","#E6E6E6");
		});
		
		
		//阶段提示框
		$(".mystage").popover({
            trigger:'manual',
            placement : 'bottom',
            html: 'true',
            animation: false
        }).on("mouseenter", function () {
                    var _this = this;
                    $(this).popover("show");
                    $(this).siblings(".popover").on("mouseleave", function () {
                        $(_this).popover('hide');
                    });
                }).on("mouseleave", function () {
                    var _this = this;
                    setTimeout(function () {
                        if (!$(".popover:hover").length) {
                            $(_this).popover("hide")
                        }
                    }, 100);
                });
		//页面加载完毕展现交易历史记录
		getTranHistory();
	});
	function getTranHistory() {
		$.ajax({
			url:"workbench/transaction/getTranHistoryList.do",
			type:"get",
			dataType:"json",
			data:{"tranId":"${tran.id}"},
			success:function (resp) {
				var html="";
				var jsonStr='${pMap}';
				var json=JSON.parse(jsonStr);
				$.each(resp,function (i,n) {
					html+='<tr>';
					html+='<td>'+n.stage+'</td>';
					html+='<td>'+n.money+'</td>';
					html+='<td>'+json[n.stage]+'</td>';
					html+='<td>'+n.expectedDate+'</td>';
					html+='<td>'+n.createTime+'</td>';
					html+='<td>'+n.createBy+'</td>';
					html+='</tr>';
				})
				$("#historyBody").html(html);
			}
		})
	}
	//变更交易阶段操作，参数:stage,需要改变的阶段，i,需要改变的阶段的下标
	function changeStage(stage,i) {
		$.ajax({
			url:"workbench/transaction/changeStage.do",
			type: "post",
			dataType: "json",
			//后两个参数是用来生成交易历史
			data: {"id":"${tran.id}","stage":stage,"expectedDate":"${tran.expectedDate}","money":"${tran.money}"},
			success:function (resp) {
				//一个map，成功与否信息，还有一条变更后的交易记录
				if (resp.success){
					//修改页面修改的参数
					var editBy=resp.tran.editBy;
					var deitTime=resp.tran.editTime;
					var possibility=resp.possibility;
					$("#stage").html(stage);
					$("#possibility").html(possibility);
					$("#editBy").html(editBy);
					$("#editTime").html(editTime);
					//刷新交易历史记录
					getTranHistory();
					//阶段图标的重新判断，重新赋予样式和颜色
					changeIcon(stage,i);
				}else {
					alert("交易变更失败");
				}
			}
		})

	}
	function changeIcon(stage,i) {
		//当前阶段
		var currentStage=stage;
		//当前阶段可能性
		var jsonStr='${pMap}';
		var json=JSON.parse(jsonStr);
		var currentPossibility=json[currentStage];
		//取出分界线阶段下标
		var point="<%=point%>";
		//如果当前阶段的下标等于临界点下标，表示当前阶段是红叉，前七个是黑圈，另一个是黑叉
		if (i==point){
			$("#"+i).css("color","#b92c28");
			$.each($(".mystage"),function (index,n) {
				if (index<point){
					//小于临界点下标的，表示为，黑圈
					$("#"+index).removeClass();
					$("#"+index).addClass("glyphicon glyphicon-record mystage");
					$("#"+index).css("color","#000000");
				}else if (index>point){
					//大于临界点下标的，表示为黑叉
					$("#"+index).removeClass();
					$("#"+index).addClass("glyphicon glyphicon-remove mystage");
					$("#"+index).css("color","#000000");
				}
			})
		//如果当前阶段的下标大于临界点下标，当前阶段为红叉，前七个是黑圈，临界点下标为黑叉
		}else if(i>point){
			$("#"+point).css("color","#000000");
			$.each($(".mystage"),function (index,n) {
				if (index<point){
					//小于临界点下标的，表示为，黑圈
					$("#"+index).removeClass();
					$("#"+index).addClass("glyphicon glyphicon-record mystage");
					$("#"+index).css("color","#000000");
				}else if (index>point){
					//大于临界点下标的，表示为红叉
					$("#"+index).removeClass();
					$("#"+index).addClass("glyphicon glyphicon-remove mystage");
					$("#"+index).css("color","#b92c28");
				}
			})
		//如果当前阶段的下标小于临界点下标，最后两个一定是黑叉，前七个有绿色标记，绿勾，黑圈
		}else {
			$("#"+point).css("color","#000000");
			$.each($(".mystage"),function (index,n) {
				if (index>point){
					//大于临界点下标的，表示为，黑叉
					$("#"+index).css("color","#000000");
				}else if (index<point){
					//小于临界点下标的，如果遍历阶段下标小于当前阶段下标，为已完成，是绿勾
					if (index<i){
						$("#"+index).removeClass();
						$("#"+index).addClass("glyphicon glyphicon-ok-circle mystage");
						$("#"+index).css("color","#90F790");
					//如果遍历出来的阶段下标等于当前阶段下表，表示为进行中，为绿色标记
					}else if (index=i){
						$("#"+index).removeClass();
						$("#"+index).addClass("glyphicon glyphicon-map-marker mystage");
						$("#"+index).css("color","#90F790");
					//如果遍历出来的阶段大于当前阶段下标，一定是黑圈
					}else {
						$("#"+index).removeClass();
						$("#"+index).addClass("glyphicon glyphicon-record mystage");
						$("#"+index).css("color","#000000");
					}
				}
			})
		}
	}
</script>

</head>
<body>
	
	<!-- 返回按钮 -->
	<div style="position: relative; top: 35px; left: 10px;">
		<a href="javascript:void(0);" onclick="window.history.back();"><span class="glyphicon glyphicon-arrow-left" style="font-size: 20px; color: #DDDDDD"></span></a>
	</div>
	
	<!-- 大标题 -->
	<div style="position: relative; left: 40px; top: -30px;">
		<div class="page-header">
			<h3>${tran.name}-${customerName} <small>￥${tran.money}</small></h3>
		</div>
		<div style="position: relative; height: 50px; width: 250px;  top: -72px; left: 700px;">
			<button type="button" class="btn btn-default" onclick="window.location.href='edit.jsp';"><span class="glyphicon glyphicon-edit"></span> 编辑</button>
			<button type="button" class="btn btn-danger"><span class="glyphicon glyphicon-minus"></span> 删除</button>
		</div>
	</div>

	<!-- 阶段状态 -->
	<div style="position: relative; left: 40px; top: -50px;">
		阶段&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<%
			//获取当前阶段
			Tran tran= (Tran) request.getAttribute("tran");
			String currentStage=tran.getStage();
			//获取当前阶段可能性
			String currentPossibility=json.getString(currentStage);
			//如果当前阶段可能性为0,前七个一定是黑圈，后两个一个是红叉，一个黑叉
			if ("0".equals(currentPossibility)){
				//前面都是黑的，分界点之后为×，当前分界点为红叉
				for (int i=0;i<dvList.size();i++){
					DicValue dc=dvList.get(i);
					String listStage=dc.getValue();
					String listPossibility=json.getString(listStage);
					//如果遍历出来的可能性为0，说明是后两个
					if ("0".equals(listPossibility)){
						//判断如果是当前阶段
						if (listStage.equals(currentStage)){
							//--------当前阶段是红叉
		%>
		<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')" class="glyphicon glyphicon-remove mystage" data-toggle="popover" data-placement="bottom" data-content="<%=listStage%>" style="color: #b92c28;"></span>
		-----------
		<%
						}else {
							//--------另一个是黑叉
		%>
		<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')" class="glyphicon glyphicon-remove mystage" data-toggle="popover" data-placement="bottom" data-content="<%=listStage%>" style="color:#000000;"></span>
		-----------
		<%
						}
					//如果遍历出来的可能性不为0，说明是前七个
					}else {
						//--------大前提当前阶段可能性为0，那么前七个一定是黑圈
		%>
		<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')" class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="<%=listStage%>" style="color: #000000;"></span>
		-----------
		<%
					}
				}
			//当前阶段可能性不为0，前七个有可能是绿色标记，绿圈，黑叉，后两个一定是黑叉
			}else {
				int index=0;
				//获取当前阶段的下标标记
				for(int i=0;i<dvList.size();i++){
					DicValue dc=dvList.get(i);
					String listStage=dc.getValue();
					if (currentStage.equals(listStage)){
						index=i;
						break;
					}
				}
				for (int i=0;i<dvList.size();i++){
					DicValue dc=dvList.get(i);
					String listStage=dc.getValue();
					String listPossibility=json.getString(listStage);
					//--------如果遍历出来的可能性为0，一定是黑叉
					if ("0".equals(listPossibility)){
		%>
		<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')" class="glyphicon glyphicon-remove mystage" data-toggle="popover" data-placement="bottom" data-content="<%=listStage%>" style="color: #000000;"></span>
		-----------
		<%
					//遍历出来的可能性不为0，可能是绿色标记，绿圈，黑圈
					}else {
						//--------如果遍历出来的下标大于当前阶段下标，表示是黑圈
						if (i>index){
		%>
		<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')" class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="<%=listStage%>" style="color: #000000;"></span>
		-----------
		<%
						//--------如果遍历出来的下标等于当前下标，表示是绿色标记
						}else if (i==index){
		%>
		<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')" class="glyphicon glyphicon-map-marker mystage" data-toggle="popover" data-placement="bottom" data-content="<%=listStage%>" style="color: #90F790;"></span>
		-----------
		<%
						//--------如果遍历出来的下标小于当前下标，表示是绿圈
						}else {
		%>
		<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')" class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="<%=listStage%>" style="color: #90F790;"></span>
		-----------
		<%
						}
					}
				}
			}
		%>
	<%--	<span class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="资质审查" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="需求分析" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="价值建议" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="确定决策者" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-map-marker mystage" data-toggle="popover" data-placement="bottom" data-content="提案/报价" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="谈判/复审"></span>
		-----------
		<span class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="成交"></span>
		-----------
		<span class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="丢失的线索"></span>
		-----------
		<span class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="因竞争丢失关闭"></span>
		-------------%>
		<span class="closingDate">${tran.expectedDate}</span>
	</div>
	
	<!-- 详细信息 -->
	<div style="position: relative; top: 0px;">
		<div style="position: relative; left: 40px; height: 30px;">
			<div style="width: 300px; color: gray;">所有者</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.owner}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">金额</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b>${tran.money}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 10px;">
			<div style="width: 300px; color: gray;">名称</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.name}-${customerName}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">预计成交日期</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b>${tran.expectedDate}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 20px;">
			<div style="width: 300px; color: gray;">客户名称</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${customerName}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">阶段</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b id="stage">${tran.stage}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 30px;">
			<div style="width: 300px; color: gray;">类型</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.type}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">可能性</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b id="possibility"></b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 40px;">
			<div style="width: 300px; color: gray;">来源</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.source}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">市场活动源</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b>${activityName}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 50px;">
			<div style="width: 300px; color: gray;">联系人名称</div>
			<div style="width: 500px;position: relative; left: 200px; top: -20px;"><b>${contactsName}</b></div>
			<div style="height: 1px; width: 550px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 60px;">
			<div style="width: 300px; color: gray;">创建者</div>
			<div style="width: 500px;position: relative; left: 200px; top: -20px;"><b>${tran.createBy}&nbsp;&nbsp;</b><small style="font-size: 10px; color: gray;">${tran.createTime}</small></div>
			<div style="height: 1px; width: 550px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 70px;">
			<div style="width: 300px; color: gray;">修改者</div>
			<div style="width: 500px;position: relative; left: 200px; top: -20px;"><b id="editBy">${tran.editBy}&nbsp;&nbsp;</b><small style="font-size: 10px; color: gray;" id="editTime">${tran.editTime}</small></div>
			<div style="height: 1px; width: 550px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 80px;">
			<div style="width: 300px; color: gray;">描述</div>
			<div style="width: 630px;position: relative; left: 200px; top: -20px;">
				<b>
					${tran.description}
				</b>
			</div>
			<div style="height: 1px; width: 850px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 90px;">
			<div style="width: 300px; color: gray;">联系纪要</div>
			<div style="width: 630px;position: relative; left: 200px; top: -20px;">
				<b>
					&nbsp;${tran.contactSummary}
				</b>
			</div>
			<div style="height: 1px; width: 850px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 100px;">
			<div style="width: 300px; color: gray;">下次联系时间</div>
			<div style="width: 500px;position: relative; left: 200px; top: -20px;"><b>&nbsp;${tran.nextContactTime}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
	</div>
	
	<!-- 备注 -->
	<div style="position: relative; top: 100px; left: 40px;">
		<div class="page-header">
			<h4>备注</h4>
		</div>
		<!-- 备注1 -->
		<div class="remarkDiv" style="height: 60px;">
			<img title="zhangsan" src="image/user-thumbnail.png" style="width: 30px; height:30px;">
			<div style="position: relative; top: -40px; left: 40px;" >
				<h5>哎呦！</h5>
				<font color="gray">交易</font> <font color="gray">-</font> <b>动力节点-交易01</b> <small style="color: gray;"> 2017-01-22 10:10:10 由zhangsan</small>
				<div style="position: relative; left: 500px; top: -30px; height: 30px; width: 100px; display: none;">
					<a class="myHref" href="javascript:void(0);"><span class="glyphicon glyphicon-edit" style="font-size: 20px; color: #E6E6E6;"></span></a>
					&nbsp;&nbsp;&nbsp;&nbsp;
					<a class="myHref" href="javascript:void(0);"><span class="glyphicon glyphicon-remove" style="font-size: 20px; color: #E6E6E6;"></span></a>
				</div>
			</div>
		</div>
		
		<!-- 备注2 -->
		<div class="remarkDiv" style="height: 60px;">
			<img title="zhangsan" src="image/user-thumbnail.png" style="width: 30px; height:30px;">
			<div style="position: relative; top: -40px; left: 40px;" >
				<h5>呵呵！</h5>
				<font color="gray">交易</font> <font color="gray">-</font> <b>动力节点-交易01</b> <small style="color: gray;"> 2017-01-22 10:20:10 由zhangsan</small>
				<div style="position: relative; left: 500px; top: -30px; height: 30px; width: 100px; display: none;">
					<a class="myHref" href="javascript:void(0);"><span class="glyphicon glyphicon-edit" style="font-size: 20px; color: #E6E6E6;"></span></a>
					&nbsp;&nbsp;&nbsp;&nbsp;
					<a class="myHref" href="javascript:void(0);"><span class="glyphicon glyphicon-remove" style="font-size: 20px; color: #E6E6E6;"></span></a>
				</div>
			</div>
		</div>
		
		<div id="remarkDiv" style="background-color: #E6E6E6; width: 870px; height: 90px;">
			<form role="form" style="position: relative;top: 10px; left: 10px;">
				<textarea id="remark" class="form-control" style="width: 850px; resize : none;" rows="2"  placeholder="添加备注..."></textarea>
				<p id="cancelAndSaveBtn" style="position: relative;left: 737px; top: 10px; display: none;">
					<button id="cancelBtn" type="button" class="btn btn-default">取消</button>
					<button type="button" class="btn btn-primary">保存</button>
				</p>
			</form>
		</div>
	</div>
	
	<!-- 阶段历史 -->
	<div>
		<div style="position: relative; top: 100px; left: 40px;">
			<div class="page-header">
				<h4>阶段历史</h4>
			</div>
			<div style="position: relative;top: 0px;">
				<table id="activityTable" class="table table-hover" style="width: 900px;">
					<thead>
						<tr style="color: #B3B3B3;">
							<td>阶段</td>
							<td>金额</td>
							<td>可能性</td>
							<td>预计成交日期</td>
							<td>创建时间</td>
							<td>创建人</td>
						</tr>
					</thead>
					<tbody id="historyBody">
						<tr>
							<td>资质审查</td>
							<td>5,000</td>
							<td>10</td>
							<td>2017-02-07</td>
							<td>2016-10-10 10:10:10</td>
							<td>zhangsan</td>
						</tr>
						<tr>
							<td>需求分析</td>
							<td>5,000</td>
							<td>20</td>
							<td>2017-02-07</td>
							<td>2016-10-20 10:10:10</td>
							<td>zhangsan</td>
						</tr>
						<tr>
							<td>谈判/复审</td>
							<td>5,000</td>
							<td>90</td>
							<td>2017-02-07</td>
							<td>2017-02-09 10:10:10</td>
							<td>zhangsan</td>
						</tr>
					</tbody>
				</table>
			</div>
			
		</div>
	</div>
	
	<div style="height: 200px;"></div>
	
</body>
</html>